package cn.itcast.mapper;

import cn.itcast.domain.Admin;
import cn.itcast.domain.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface AdminMapper {

    @Select("select * from admin where username = #{username} and password = #{password}")
    Admin login(@Param("username") String name, @Param("password") String password);
}
